package org.datascooter.test.example;

import java.io.Serializable;
import java.util.Date;

public class LongData implements Serializable {

	private static final long serialVersionUID = 6487230854165676189L;
	private Long id;
	private Date created;
	private Date updated;
	private Boolean enabled;

	protected LongData() {
	}

	public Long getId() {
		if (id == null) {
			id = Long.valueOf(hashCode());
		}
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}
}
